![]() |
CopyPixMap |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Duplicates a PixMap structure.
void CopyPixMap ( PixMapHandle srcPM, PixMapHandle dstPM );
A handle to the PixMap structure to be copied.
On return, a handle to the duplicated PixMap structure.
Typically, you do not need to call this function in your application code, because the CopyPixMap function copies the contents of the source PixMap structure to the destination PixMap structure. The contents of the color table are copied, so the destination PixMap has its own copy of the color table. Because the baseAddr field of the PixMap structure is a pointer, the pointer, but not the image itself, is copied.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)